/*
 * 路由对象模块
 * */
import Vue from 'vue';
import VueRouter from 'vue-router';
import Home from '../views/home.vue';
import PdfShow from '../views/pdf_show.vue';
import FilePdf from '../views/file_pdf.vue';
import ImgTest from '../views/img_test.vue';

Vue.use(VueRouter)

export default new VueRouter({
	routes: [
		{
			path: '/',
			name: 'Home',
			component: Home
		},{
			path: '/home',
			name: 'Home',
			component: Home
		},{
			path: '/pdfShow',
			name: 'PdfShow',
			component: PdfShow
		},{
			path: '/filePdf',
			name: 'FilePdf',
			component: FilePdf
		},{
			path: '/imgTest',
			name: 'ImgTest',
			component: ImgTest
		},{
			path: '*',
			redirct: { name: 'Home'}
		}],
		
});

//export default router;
